
//1.使用createPinia创建仓库对象并导出给main.js去use
//2.将所有的仓库在这里统一导入再统一export导出，让组件使用各个仓库舒服一些
import { createPinia } from "pinia";
import useDashboard from './dashboard'
import useFunc from "./func"
import useRoleStore from "./role"
import useStaff from "./staff";
import useClassroom from "./classroom"
import useClass from "./class"
import useStudent from "./student";

const pinia = createPinia()
export default pinia
export {
    useDashboard,
    useFunc,
    useRoleStore,
    useStaff,
    useClassroom,
    useClass,
    useStudent

}